#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;

#endregion

namespace TVC.Modules.Business
{
    public partial class Split : Form
    {
        public string type;
        public Split()
        {
            InitializeComponent();
            initSplit();
        }

      
       
        private void initSplit()
        {
            if (rbtSingle.Checked)
            {
                type = "S";
                groupMulti.Visible = false;
                groupSingle.Visible = true;
            }
            else if (rbtMulti.Checked)
            {
                type = "M";
                groupMulti.Visible = true;
                groupSingle.Visible = false;
            }
        }
        private void rbtSingle_CheckedChanged(object sender, EventArgs e)
        {
            initSplit();
        }

        private void rbtMulti_CheckedChanged(object sender, EventArgs e)
        {
            initSplit();
        }
    }
}